Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for issue #23 #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix for issue #23 #36

wants to merge 1 commit into from

Conversation

augensalat
Copy link

Hope it's OK that way.

I removed this section entirely:

    elsif ( my $te = $headers{'transfer-encoding'} ) {
        if ( $te eq 'chunked' ) {
            DEBUG && warn "[$$] Chunked transfer-encoding set for response\n";
            $chunked = 1;
        }
    }

"Transfer-Encoding: chunked" + "Content-Length" does not make sense IMHO,
but anyway - if "Transfer-Encoding: chunked" already exists in the header, we should
assume, that the body is already properly chunked.

Bernhard

Assume, that a response body without a Content-Length, but with a header
line of "Transfer-Encoding: chunked" is already properly chunked.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant